package cn.whr.server1.service;


import cn.whr.server1.entity.ResponseDTO;
import cn.whr.server1.entity.UserEntity;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;

public interface IUserService {

    ResponseDTO Registration(UserEntity user);

    ResponseDTO RegistrationEnd(UserEntity user, String code) throws UnsupportedEncodingException, NoSuchAlgorithmException;

    ResponseDTO login(UserEntity user) throws UnsupportedEncodingException, NoSuchAlgorithmException;

}
